var e,t;import{r as n,_ as r,R as o,a as i,b as a,c as s,j as u,d as c,F as l,N as h}from"./lD_7b9356b0.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var f={},d=n;function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}f.createRoot=d.createRoot,f.hydrateRoot=d.hydrateRoot;var y=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),v="undefined"==typeof window;function g(){}function b(e){return"number"==typeof e&&e>=0&&e!==1/0}function w(e){return Array.isArray(e)?e:[e]}function E(e,t){return Math.max(e+(t||0)-Date.now(),0)}function O(e,t,n){return U(e)?"function"==typeof t?r({},n,{queryKey:e,queryFn:t}):r({},t,{queryKey:e}):e}function S(e,t,n){return U(e)?"function"==typeof t?r({},n,{mutationKey:e,mutationFn:t}):r({},t,{mutationKey:e}):"function"==typeof e?r({},t,{mutationFn:e}):r({},e)}function C(e,t,n){return U(e)?[r({},t,{queryKey:e}),n]:[e||{},t]}function R(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,s=e.queryKey,u=e.stale;if(U(s))if(r){if(t.queryHash!==x(s,t.options))return!1}else if(!T(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,i);if("none"===c)return!1;if("all"!==c){var l=t.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function P(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(U(i)){if(!t.options.mutationKey)return!1;if(n){if(A(t.options.mutationKey)!==A(i))return!1}else if(!T(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function x(e,t){return((null==t?void 0:t.queryKeyHashFn)||A)(e)}function A(e){var t,n=w(e);return t=n,JSON.stringify(t,(function(e,t){return j(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function T(e,t){return F(w(e),w(t))}function F(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!F(e[n],t[n])})))}function _(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||j(e)&&j(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},s=0,u=0;u0?this.queries.filter((function(e){return R(n,e)})):this.queries},n.notify=function(e){var t=this;Q.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;Q.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;Q.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(y),G=function(){function e(e){this.options=r({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(g).catch(g)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),V().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new H({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return r({},e,{failureCount:e.failureCount+1});case"pause":return r({},e,{isPaused:!0});case"continue":return r({},e,{isPaused:!1});case"loading":return r({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return r({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return r({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return r({},e,t.state);default:return e}}(this.state,e),Q.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function X(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var Z=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}m(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new G({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;Q.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return P(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return P(e,t)}))},n.notify=function(e){var t=this;Q.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return Q.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(g)}))}),Promise.resolve())}))},t}(y);function Y(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var ee=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new J,this.mutationCache=e.mutationCache||new Z,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=B.subscribe((function(){B.isFocused()&&k.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=k.subscribe((function(){B.isFocused()&&k.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=C(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(r({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=O(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return Q.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=C(e,t)[0],r=this.queryCache;Q.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var o=this,i=C(e,t,n),a=i[0],s=i[1],u=this.queryCache,c=r({},a,{active:!0});return Q.batch((function(){return u.findAll(a).forEach((function(e){e.reset()})),o.refetchQueries(c,s)}))},t.cancelQueries=function(e,t,n){var r=this,o=C(e,t,n),i=o[0],a=o[1],s=void 0===a?{}:a;void 0===s.revert&&(s.revert=!0);var u=Q.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(s)}))}));return Promise.all(u).then(g).catch(g)},t.invalidateQueries=function(e,t,n){var o,i,a,s=this,u=C(e,t,n),c=u[0],l=u[1],h=r({},c,{active:null==(o=null!=(i=c.refetchActive)?i:c.active)||o,inactive:null!=(a=c.refetchInactive)&&a});return Q.batch((function(){return s.queryCache.findAll(c).forEach((function(e){e.invalidate()})),s.refetchQueries(h,l)}))},t.refetchQueries=function(e,t,n){var o=this,i=C(e,t,n),a=i[0],s=i[1],u=Q.batch((function(){return o.queryCache.findAll(a).map((function(e){return e.fetch(void 0,r({},s,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),c=Promise.all(u).then(g);return(null==s?void 0:s.throwOnError)||(c=c.catch(g)),c},t.fetchQuery=function(e,t,n){var r=O(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(g).catch(g)},t.fetchInfiniteQuery=function(e,t,n){var r=O(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,s,u,c,l=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,h=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,f=null==h?void 0:h.pageParam,d="forward"===(null==h?void 0:h.direction),p="backward"===(null==h?void 0:h.direction),m=(null==(i=e.state.data)?void 0:i.pages)||[],y=(null==(a=e.state.data)?void 0:a.pageParams)||[],v=N(),g=null==v?void 0:v.signal,b=y,w=!1,E=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},O=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(w)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:g,pageParam:r,meta:e.meta},a=E(i),s=Promise.resolve(a).then((function(e){return O(t,r,e,o)}));return I(a)&&(s.cancel=a.cancel),s};if(m.length)if(d){var C=void 0!==f,R=C?f:Y(e.options,m);s=S(m,C,R)}else if(p){var P=void 0!==f,x=P?f:(u=e.options,c=m,null==u.getPreviousPageParam?void 0:u.getPreviousPageParam(c[0],c));s=S(m,P,x,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!l||!m[0]||l(m[0],0,m);s=n?S([],t,y[0]):Promise.resolve(O([],y[0],m[0]));for(var r=function(n){s=s.then((function(r){if(!l||!m[n]||l(m[n],n,m)){var o=t?y[n]:Y(e.options,r);return S(r,t,o)}return Promise.resolve(O(r,y[n],m[n]))}))},o=1;o{o.removeEventListener(he,h),u=null}},createHref:e=>t(o,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:d,go:e=>a.go(e)};return m}((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return ye("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:ve(t)}),null,e)}function de(e,t){if(!1===e||null==e)throw new Error(t)}function pe(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function me(e,t){return{usr:e.state,key:e.key,idx:t}}function ye(e,t,n,r){return void 0===n&&(n=null),le({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?ge(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function ve(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function ge(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var be,we;function Ee(e,t,n){return void 0===n&&(n="/"),function(e,t,n,r){let o="string"==typeof t?ge(t):t,i=Ue(o.pathname||"/",n);if(null==i)return null;let a=Oe(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let s=null;for(let u=0;null==s&&u{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(de(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let s=Be([r,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(de(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),Oe(e.children,t,u,s)),(null!=e.path||e.index)&&t.push({path:s,score:_e(s,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of Se(e.path))o(e,t,r);else o(e,t)})),t}function Se(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=Se(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}(we=be||(be={})).data="data",we.deferred="deferred",we.redirect="redirect",we.error="error";const Ce=/^:[\w-]+$/,Re=3,Pe=2,xe=1,Ae=10,Te=-2,Fe=e=>"*"===e;function _e(e,t){let n=e.split("/"),r=n.length;return n.some(Fe)&&(r+=Te),t&&(r+=Pe),n.filter((e=>!Fe(e))).reduce(((e,t)=>e+(Ce.test(t)?Re:""===t?xe:Ae)),r)}function De(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const u=s[n];return e[r]=o&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function qe(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return pe(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Ue(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function Le(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function Ne(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=ge(e):(o=le({},e),de(!o.pathname||!o.pathname.includes("?"),Le("?","pathname","search",o)),de(!o.pathname||!o.pathname.includes("#"),Le("#","pathname","hash",o)),de(!o.search||!o.search.includes("#"),Le("#","search","hash",o)));let i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(null==s)i=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?ge(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:Me(r),hash:Ie(o)}}(o,i),c=s&&"/"!==s&&s.endsWith("/"),l=(a||"."===s)&&n.endsWith("/");return u.pathname.endsWith("/")||!c&&!l||(u.pathname+="/"),u}const Be=e=>e.join("/").replace(/\/\/+/g,"/"),ke=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Me=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ie=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";const Ke=["post","put","patch","delete"];new Set(Ke);const ze=["get",...Ke];function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.current=!0})),a.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,He({fromRouteId:t},o)))}),[e,t])}():function(){Xe()||de(!1);let e=a.useContext(Qe),{basename:t,future:n,navigator:r}=a.useContext(Ve),{matches:o}=a.useContext(Je),{pathname:i}=Ze(),s=JSON.stringify(function(e,t){let n=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}(o,n.v7_relativeSplatPath)),u=a.useRef(!1);return Ye((()=>{u.current=!0})),a.useCallback((function(n,o){if(void 0===o&&(o={}),!u.current)return;if("number"==typeof n)return void r.go(n);let a=Ne(n,JSON.parse(s),i,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:Be([t,a.pathname])),(o.replace?r.replace:r.push)(a,o.state,o)}),[t,r,s,i,e])}()}const tt=a.createContext(null);function nt(){let{matches:e}=a.useContext(Je),t=e[e.length-1];return t?t.params:{}}function rt(e,t){return function(e,t,n,r){Xe()||de(!1);let{navigator:o}=a.useContext(Ve),{matches:i}=a.useContext(Je),s=i[i.length-1],u=s?s.params:{};!s||s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let l,h=Ze();if(t){var f;let e="string"==typeof t?ge(t):t;"/"===c||(null==(f=e.pathname)?void 0:f.startsWith(c))||de(!1),l=e}else l=h;let d=l.pathname||"/",p=d;if("/"!==c){let e=c.replace(/^\//,"").split("/");p="/"+d.replace(/^\//,"").split("/").slice(e.length).join("/")}let m=Ee(e,{pathname:p}),y=function(e,t,n,r){var o,i;void 0===t&&(t=[]);void 0===n&&(n=null);void 0===r&&(r=null);if(null==e){if(null==(i=n)||!i.errors)return null;e=n.matches}let s=e,u=null==(o=n)?void 0:o.errors;if(null!=u){let e=s.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||de(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,l=-1;if(n&&r&&r.v7_partialHydration)for(let a=0;a=0?s.slice(0,l+1):[s[0]];break}}}return s.reduceRight(((e,r,o)=>{let i,h=!1,f=null,d=null;var p;n&&(i=u&&r.route.id?u[r.route.id]:void 0,f=r.route.errorElement||it,c&&(l<0&&0===o?(p="route-fallback",!1||ht[p]||(ht[p]=!0),h=!0,d=null):l===o&&(h=!0,d=r.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,o+1)),y=()=>{let t;return t=i?f:h?d:r.route.Component?a.createElement(r.route.Component,null):r.route.element?r.route.element:e,a.createElement(st,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?a.createElement(at,{location:n.location,revalidation:n.revalidation,component:f,error:i,children:y(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):y()}),null)}(m&&m.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:Be([c,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:Be([c,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,n,r);if(t&&y)return a.createElement($e.Provider,{value:{location:He({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:ae.Pop}},y);return y}(e,t)}function ot(){let e=function(){var e;let t=a.useContext(Ge),n=function(e){let t=a.useContext(We);return t||de(!1),t}(ct.UseRouteError),r=lt(ct.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:r},n):null,null)}const it=a.createElement(ot,null);class at extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?a.createElement(Je.Provider,{value:this.props.routeContext},a.createElement(Ge.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function st(e){let{routeContext:t,match:n,children:r}=e,o=a.useContext(Qe);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),a.createElement(Je.Provider,{value:t},r)}var ut=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ut||{}),ct=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ct||{});function lt(e){let t=function(e){let t=a.useContext(Je);return t||de(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||de(!1),n.route.id}const ht={};function ft(e){return function(e){let t=a.useContext(Je).outlet;return t?a.createElement(tt.Provider,{value:e},t):t}(e.context)}function dt(e){de(!1)}function pt(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ae.Pop,navigator:i,static:s=!1,future:u}=e;Xe()&&de(!1);let c=t.replace(/^\/*/,"/"),l=a.useMemo((()=>({basename:c,navigator:i,static:s,future:He({v7_relativeSplatPath:!1},u)})),[c,u,i,s]);"string"==typeof r&&(r=ge(r));let{pathname:h="/",search:f="",hash:d="",state:p=null,key:m="default"}=r,y=a.useMemo((()=>{let e=Ue(h,c);return null==e?null:{location:{pathname:e,search:f,hash:d,state:p,key:m},navigationType:o}}),[c,h,f,d,p,m,o]);return null==y?null:a.createElement(Ve.Provider,{value:l},a.createElement($e.Provider,{children:n,value:y}))}function mt(e){let{children:t,location:n}=e;return rt(yt(t),n)}function yt(e,t){void 0===t&&(t=[]);let n=[];return a.Children.forEach(e,((e,r)=>{if(!a.isValidElement(e))return;let o=[...t,r];if(e.type===a.Fragment)return void n.push.apply(n,yt(e.props.children,o));e.type!==dt&&de(!1),e.props.index&&e.props.children&&de(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=yt(e.props.children,o)),n.push(i)})),n}new Promise((()=>{}));try{window.__reactRouterVersion="6"}catch($r){}const vt=s.startTransition;function gt(e){let{basename:t,children:n,future:r,window:o}=e,i=a.useRef();null==i.current&&(i.current=fe({window:o,v5Compat:!0}));let s=i.current,[u,c]=a.useState({action:s.action,location:s.location}),{v7_startTransition:l}=r||{},h=a.useCallback((e=>{l&&vt?vt((()=>c(e))):c(e)}),[c,l]);return a.useLayoutEffect((()=>s.listen(h)),[s,h]),a.createElement(pt,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:s,future:r})}var bt,wt,Et,Ot;(wt=bt||(bt={})).UseScrollRestoration="useScrollRestoration",wt.UseSubmit="useSubmit",wt.UseSubmitFetcher="useSubmitFetcher",wt.UseFetcher="useFetcher",wt.useViewTransitionState="useViewTransitionState",(Ot=Et||(Et={})).UseFetcher="useFetcher",Ot.UseFetchers="useFetchers",Ot.UseScrollRestoration="useScrollRestoration";const St={},Ct=function(e,t,n){if(!t||0===t.length)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map((e=>{if((e=function(e){return"/"+e}(e))in St)return;St[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!n)for(let n=r.length-1;n>=0;n--){const o=r[n];if(o.href===e&&(!t||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${e}"]${o}`))return;const i=document.createElement("link");return i.rel=t?"stylesheet":"modulepreload",t||(i.as="script",i.crossOrigin=""),i.href=e,document.head.appendChild(i),t?new Promise(((t,n)=>{i.addEventListener("load",t),i.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},Rt=a.lazy((()=>Ct((()=>import("./0N_87a18f38.js")),["assets/0N_87a18f38.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/u7of63cd30e.js","assets/0fg62fc4f15.css","assets/kizb5c6be00.js","assets/3Z_646e6bad.css","assets/N0i_74a2eca6.js"]))),Pt=a.lazy((()=>Ct((()=>import("./yp_77993a13.js")),["assets/yp_77993a13.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/m20230438be.js","assets/kizb5c6be00.js","assets/3Z_646e6bad.css"]).then((e=>({default:e.BankingDiaPage}))))),xt=a.lazy((()=>Ct((()=>import("./fpx_97d1f2f0.js")),["assets/fpx_97d1f2f0.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/kizb5c6be00.js","assets/3Z_646e6bad.css"]).then((e=>({default:e.BankingDopomogaPage}))))),At=a.lazy((()=>Ct((()=>import("./NI48cd5bc3.js")),["assets/NI48cd5bc3.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/kizb5c6be00.js","assets/3Z_646e6bad.css","assets/N0i_74a2eca6.js","assets/pc_6cc6db1d.css"]).then((e=>({default:e.BankingSelectPage}))))),Tt=a.lazy((()=>Ct((()=>import("./JVidce8bb6f.js")),["assets/JVidce8bb6f.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/m20230438be.js","assets/kizb5c6be00.js","assets/3Z_646e6bad.css"]).then((e=>({default:e.BankingPetitionPage}))))),Ft=a.lazy((()=>Ct((()=>import("./VGM_f953b733.js")),["assets/VGM_f953b733.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/u7of63cd30e.js","assets/0fg62fc4f15.css","assets/kizb5c6be00.js","assets/3Z_646e6bad.css","assets/N0i_74a2eca6.js","assets/yp_77993a13.js","assets/m20230438be.js","assets/o04d274708.js","assets/NZC5d8bc7be.js","assets/JMX_5b92b095.js","assets/dF_37f5ee2d.js","assets/r9he38a6df6.js"]).then((e=>({default:e.default}))))),_t=a.lazy((()=>Ct((()=>import("./NI48cd5bc3.js")),["assets/NI48cd5bc3.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/kizb5c6be00.js","assets/3Z_646e6bad.css","assets/N0i_74a2eca6.js","assets/pc_6cc6db1d.css"]))),Dt=a.lazy((()=>Ct((()=>import("./xL8_e0638ad3.js")),["assets/xL8_e0638ad3.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/u7of63cd30e.js","assets/0fg62fc4f15.css","assets/kizb5c6be00.js","assets/3Z_646e6bad.css","assets/N0i_74a2eca6.js","assets/yp_77993a13.js","assets/m20230438be.js","assets/o04d274708.js","assets/NZC5d8bc7be.js","assets/JMX_5b92b095.js","assets/dF_37f5ee2d.js","assets/r9he38a6df6.js"]))),jt=a.lazy((()=>Ct((()=>import("./RQ_4831622a.js").then((e=>e.i))),["assets/RQ_4831622a.js","assets/lD_7b9356b0.js","assets/0Y4b30caa2.js","assets/JMX_5b92b095.js","assets/zGF638bca00.css"]))),qt=()=>c(l,{children:[u(jt,{}),u(ft,{})]});function Ut(){return u(mt,{children:c(dt,{element:u(qt,{}),children:[u(dt,{path:"/b/:id",element:u(Rt,{})}),u(dt,{path:"/bd/:id",element:u(Pt,{})}),u(dt,{path:"/bp/:id",element:u(Tt,{})}),u(dt,{path:"/bdo/:id",element:u(xt,{})}),u(dt,{path:"/bs/:id",element:u(At,{children:u(_t,{})})}),u(dt,{path:"/bi/:id",element:u(a.Suspense,{children:u(Rt,{rewritePage:"input"})})}),u(dt,{path:"/o/:id",element:u(Dt,{type:"order"})}),u(dt,{path:"/s/:id",element:u(Dt,{type:"sell"})}),u(dt,{path:"/c/:id",element:u(Ft,{})}),u(dt,{path:"*",element:u("div",{className:"flex min-h-screen justify-center items-center",children:u("p",{className:"text-2xl tracking-widest",children:"Page Not Found"})})})]})})}function Lt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Nt}=Object.prototype,{getPrototypeOf:Bt}=Object,kt=(Mt=Object.create(null),e=>{const t=Nt.call(e);return Mt[t]||(Mt[t]=t.slice(8,-1).toLowerCase())});var Mt;const It=e=>(e=e.toLowerCase(),t=>kt(t)===e),Kt=e=>t=>typeof t===e,{isArray:zt}=Array,Ht=Kt("undefined");const Qt=It("ArrayBuffer");const Wt=Kt("string"),Vt=Kt("function"),$t=Kt("number"),Jt=e=>null!==e&&"object"==typeof e,Gt=e=>{if("object"!==kt(e))return!1;const t=Bt(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Xt=It("Date"),Zt=It("File"),Yt=It("Blob"),en=It("FileList"),tn=It("URLSearchParams"),[nn,rn,on,an]=["ReadableStream","Request","Response","Headers"].map(It);function sn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),zt(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const cn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ln=e=>!Ht(e)&&e!==cn;const hn=(fn="undefined"!=typeof Uint8Array&&Bt(Uint8Array),e=>fn&&e instanceof fn);var fn;const dn=It("HTMLFormElement"),pn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),mn=It("RegExp"),yn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};sn(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},vn="abcdefghijklmnopqrstuvwxyz",gn="0123456789",bn={DIGIT:gn,ALPHA:vn,ALPHA_DIGIT:vn+vn.toUpperCase()+gn};const wn=It("AsyncFunction"),En={isArray:zt,isArrayBuffer:Qt,isBuffer:function(e){return null!==e&&!Ht(e)&&null!==e.constructor&&!Ht(e.constructor)&&Vt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Vt(e.append)&&("formdata"===(t=kt(e))||"object"===t&&Vt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Qt(e.buffer),t},isString:Wt,isNumber:$t,isBoolean:e=>!0===e||!1===e,isObject:Jt,isPlainObject:Gt,isReadableStream:nn,isRequest:rn,isResponse:on,isHeaders:an,isUndefined:Ht,isDate:Xt,isFile:Zt,isBlob:Yt,isRegExp:mn,isFunction:Vt,isStream:e=>Jt(e)&&Vt(e.pipe),isURLSearchParams:tn,isTypedArray:hn,isFileList:en,forEach:sn,merge:function e(){const{caseless:t}=ln(this)&&this||{},n={},r=(r,o)=>{const i=t&&un(n,o)||o;Gt(n[i])&&Gt(r)?n[i]=e(n[i],r):Gt(r)?n[i]=e({},r):zt(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o(sn(t,((t,r)=>{n&&Vt(t)?e[r]=Lt(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Bt(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:kt,kindOfTest:It,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(zt(e))return e;let t=e.length;if(!$t(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:dn,hasOwnProperty:pn,hasOwnProp:pn,reduceDescriptors:yn,freezeMethods:e=>{yn(e,((t,n)=>{if(Vt(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Vt(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return zt(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:un,global:cn,isContextDefined:ln,ALPHABET:bn,generateString:(e=16,t=bn.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Vt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Jt(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=zt(e)?[]:{};return sn(e,((e,t)=>{const i=n(e,r+1);!Ht(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:wn,isThenable:e=>e&&(Jt(e)||Vt(e))&&Vt(e.then)&&Vt(e.catch)};function On(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}En.inherits(On,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:En.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Sn=On.prototype,Cn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Cn[e]={value:e}})),Object.defineProperties(On,Cn),Object.defineProperty(Sn,"isAxiosError",{value:!0}),On.from=(e,t,n,r,o,i)=>{const a=Object.create(Sn);return En.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),On.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Rn(e){return En.isPlainObject(e)||En.isArray(e)}function Pn(e){return En.endsWith(e,"[]")?e.slice(0,-2):e}function xn(e,t,n){return e?e.concat(t).map((function(e,t){return e=Pn(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const An=En.toFlatObject(En,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Tn(e,t,n){if(!En.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=En.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!En.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&En.isSpecCompliantForm(t);if(!En.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(En.isDate(e))return e.toISOString();if(!s&&En.isBlob(e))throw new On("Blob is not supported. Use a Buffer instead.");return En.isArrayBuffer(e)||En.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(En.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(En.isArray(e)&&function(e){return En.isArray(e)&&!e.some(Rn)}(e)||(En.isFileList(e)||En.endsWith(n,"[]"))&&(s=En.toArray(e)))return n=Pn(n),s.forEach((function(e,r){!En.isUndefined(e)&&null!==e&&t.append(!0===a?xn([n],r,i):null===a?n:n+"[]",u(e))})),!1;return!!Rn(e)||(t.append(xn(o,n,i),u(e)),!1)}const l=[],h=Object.assign(An,{defaultVisitor:c,convertValue:u,isVisitable:Rn});if(!En.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!En.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),En.forEach(n,(function(n,i){!0===(!(En.isUndefined(n)||null===n)&&o.call(t,n,En.isString(i)?i.trim():i,r,h))&&e(n,r?r.concat(i):[i])})),l.pop()}}(e),t}function Fn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function _n(e,t){this._pairs=[],e&&Tn(e,this,t)}const Dn=_n.prototype;function jn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qn(e,t,n){if(!t)return e;const r=n&&n.encode||jn,o=n&&n.serialize;let i;if(i=o?o(t,n):En.isURLSearchParams(t)?t.toString():new _n(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Dn.append=function(e,t){this._pairs.push([e,t])},Dn.toString=function(e){const t=e?function(t){return e.call(this,t,Fn)}:Fn;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Un=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){En.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ln={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:_n,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Bn="undefined"!=typeof window&&"undefined"!=typeof document,kn=(Mn="undefined"!=typeof navigator&&navigator.product,Bn&&["ReactNative","NativeScript","NS"].indexOf(Mn)<0);var Mn;const In="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Kn=Bn&&window.location.href||"http://localhost",zn={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bn,hasStandardBrowserEnv:kn,hasStandardBrowserWebWorkerEnv:In,origin:Kn},Symbol.toStringTag,{value:"Module"})),...Nn};function Hn(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&En.isArray(r)?r.length:i,s)return En.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&En.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&En.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r{t(function(e){return En.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Qn={transitional:Ln,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=En.isObject(e);o&&En.isHTMLForm(e)&&(e=new FormData(e));if(En.isFormData(e))return r?JSON.stringify(Hn(e)):e;if(En.isArrayBuffer(e)||En.isBuffer(e)||En.isStream(e)||En.isFile(e)||En.isBlob(e)||En.isReadableStream(e))return e;if(En.isArrayBufferView(e))return e.buffer;if(En.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Tn(e,new zn.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return zn.isNode&&En.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=En.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Tn(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(En.isString(e))try{return(t||JSON.parse)(e),En.trim(e)}catch($r){if("SyntaxError"!==$r.name)throw $r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Qn.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(En.isResponse(e)||En.isReadableStream(e))return e;if(e&&En.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch($r){if(n){if("SyntaxError"===$r.name)throw On.from($r,On.ERR_BAD_RESPONSE,this,null,this.response);throw $r}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zn.classes.FormData,Blob:zn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};En.forEach(["delete","get","head","post","put","patch"],(e=>{Qn.headers[e]={}}));const Wn=Qn,Vn=En.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$n=Symbol("internals");function Jn(e){return e&&String(e).trim().toLowerCase()}function Gn(e){return!1===e||null==e?e:En.isArray(e)?e.map(Gn):String(e)}function Xn(e,t,n,r,o){return En.isFunction(r)?r.call(this,t,n):(o&&(t=n),En.isString(t)?En.isString(r)?-1!==t.indexOf(r):En.isRegExp(r)?r.test(t):void 0:void 0)}class Zn{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Jn(t);if(!o)throw new Error("header name must be a non-empty string");const i=En.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Gn(e))}const i=(e,t)=>En.forEach(e,((e,n)=>o(e,n,t)));if(En.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(En.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Vn[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(En.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Jn(e)){const n=En.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(En.isFunction(t))return t.call(this,e,n);if(En.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jn(e)){const n=En.findKey(this,e);return!(!n||void 0===this[n]||t&&!Xn(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Jn(e)){const o=En.findKey(n,e);!o||t&&!Xn(0,n[o],o,t)||(delete n[o],r=!0)}}return En.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Xn(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return En.forEach(this,((r,o)=>{const i=En.findKey(n,o);if(i)return t[i]=Gn(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Gn(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return En.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&En.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[$n]=this[$n]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Jn(e);t[r]||(!function(e,t){const n=En.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return En.isArray(e)?e.forEach(r):r(e),this}}Zn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),En.reduceDescriptors(Zn.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),En.freezeMethods(Zn);const Yn=Zn;function er(e,t){const n=this||Wn,r=t||n,o=Yn.from(r.headers);let i=r.data;return En.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function tr(e){return!(!e||!e.__CANCEL__)}function nr(e,t,n){On.call(this,null==e?"canceled":e,On.ERR_CANCELED,t,n),this.name="CanceledError"}function rr(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new On("Request failed with status code "+n.status,[On.ERR_BAD_REQUEST,On.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}En.inherits(nr,On,{__CANCEL__:!0});const or=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,h=0;for(;l!==i;)h+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-or)return o&&(clearTimeout(o),o=null),n=i,e.apply(null,arguments);o||(o=setTimeout((()=>(o=null,n=Date.now(),e.apply(null,arguments))),r-(i-n)))}}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,u=o(s);r=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:n,lengthComputable:null!=a};c[t?"download":"upload"]=!0,e(c)}),n)},ir=zn.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=En.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},ar=zn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];En.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),En.isString(r)&&a.push("path="+r),En.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function sr(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ur=e=>e instanceof Yn?{...e}:e;function cr(e,t){t=t||{};const n={};function r(e,t,n){return En.isPlainObject(e)&&En.isPlainObject(t)?En.merge.call({caseless:n},e,t):En.isPlainObject(t)?En.merge({},t):En.isArray(t)?t.slice():t}function o(e,t,n){return En.isUndefined(t)?En.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!En.isUndefined(t))return r(void 0,t)}function a(e,t){return En.isUndefined(t)?En.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(ur(e),ur(t),!0)};return En.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);En.isUndefined(a)&&i!==s||(n[r]=a)})),n}const lr=e=>{const t=cr({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=t;if(t.headers=s=Yn.from(s),t.url=qn(sr(t.baseURL,t.url),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),En.isFormData(r))if(zn.hasStandardBrowserEnv||zn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(zn.hasStandardBrowserEnv&&(o&&En.isFunction(o)&&(o=o(t)),o||!1!==o&&ir(t.url))){const e=i&&a&&ar.read(a);e&&s.set(i,e)}return t},hr="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=lr(e);let o=r.data;const i=Yn.from(r.headers).normalize();let a,{responseType:s}=r;function u(){r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let c=new XMLHttpRequest;function l(){if(!c)return;const r=Yn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());rr((function(e){t(e),u()}),(function(e){n(e),u()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(n(new On("Request aborted",On.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new On("Network Error",On.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const t=r.transitional||Ln;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new On(e,t.clarifyTimeoutError?On.ETIMEDOUT:On.ECONNABORTED,r,c)),c=null},void 0===o&&i.setContentType(null),"setRequestHeader"in c&&En.forEach(i.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),En.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),s&&"json"!==s&&(c.responseType=r.responseType),"function"==typeof r.onDownloadProgress&&c.addEventListener("progress",or(r.onDownloadProgress,!0)),"function"==typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",or(r.onUploadProgress)),(r.cancelToken||r.signal)&&(a=t=>{c&&(n(!t||t.type?new nr(null,e,c):t),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const h=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);h&&-1===zn.protocols.indexOf(h)?n(new On("Unsupported protocol "+h+":",On.ERR_BAD_REQUEST,e)):c.send(o||null)}))},fr=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof On?t:new nr(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new On(`timeout ${t} of ms exceeded`,On.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},dr=function*(e,t){let n=e.byteLength;if(!t||n{const i=async function*(e,t,n){for await(const r of e)yield*dr(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,o);let a=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:o}=await i.next();if(t)return e.close(),void r();let s=o.byteLength;n&&n(a+=s),e.enqueue(new Uint8Array(o))},cancel:e=>(r(e),i.return())},{highWaterMark:2})},mr=(e,t)=>{const n=null!=e;return r=>setTimeout((()=>t({lengthComputable:n,total:e,loaded:r})))},yr="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,vr=yr&&"function"==typeof ReadableStream,gr=yr&&("function"==typeof TextEncoder?(br=new TextEncoder,e=>br.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var br;const wr=vr&&(()=>{let e=!1;const t=new Request(zn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Er=vr&&!!(()=>{try{return En.isReadableStream(new Response("").body)}catch(e){}})(),Or={stream:Er&&(e=>e.body)};var Sr;yr&&(Sr=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Or[e]&&(Or[e]=En.isFunction(Sr[e])?t=>t[e]():(t,n)=>{throw new On(`Response type '${e}' is not supported`,On.ERR_NOT_SUPPORT,n)})})));const Cr=async(e,t)=>{const n=En.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:En.isBlob(e)?e.size:En.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:En.isArrayBufferView(e)?e.byteLength:(En.isURLSearchParams(e)&&(e+=""),En.isString(e)?(await gr(e)).byteLength:void 0))(t):n},Rr={http:null,xhr:hr,fetch:yr&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:h="same-origin",fetchOptions:f}=lr(e);c=c?(c+"").toLowerCase():"text";let d,p,[m,y]=o||i||a?fr([o,i],a):[];const v=()=>{!d&&setTimeout((()=>{m&&m.unsubscribe()})),d=!0};let g;try{if(u&&wr&&"get"!==n&&"head"!==n&&0!==(g=await Cr(l,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});En.isFormData(r)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body&&(r=pr(n.body,65536,mr(g,or(u)),null,gr))}En.isString(h)||(h=h?"cors":"omit"),p=new Request(t,{...f,signal:m,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",withCredentials:h});let o=await fetch(p);const i=Er&&("stream"===c||"response"===c);if(Er&&(s||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=En.toFiniteNumber(o.headers.get("content-length"));o=new Response(pr(o.body,65536,s&&mr(t,or(s,!0)),i&&v,gr),e)}c=c||"text";let a=await Or[En.findKey(Or,c)||"text"](o,e);return!i&&v(),y&&y(),await new Promise(((t,n)=>{rr(t,n,{data:a,headers:Yn.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:p})}))}catch(b){if(v(),b&&"TypeError"===b.name&&/fetch/i.test(b.message))throw Object.assign(new On("Network Error",On.ERR_NETWORK,e,p),{cause:b.cause||b});throw On.from(b,b&&b.code,e,p)}})};En.forEach(Rr,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch($r){}Object.defineProperty(e,"adapterName",{value:t})}}));const Pr=e=>`- ${e}`,xr=e=>En.isFunction(e)||null===e||!1===e,Ar=e=>{e=En.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new On("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Pr).join("\n"):" "+Pr(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nr(null,e)}function Fr(e){Tr(e),e.headers=Yn.from(e.headers),e.data=er.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ar(e.adapter||Wn.adapter)(e).then((function(t){return Tr(e),t.data=er.call(e,e.transformResponse,t),t.headers=Yn.from(t.headers),t}),(function(t){return tr(t)||(Tr(e),t&&t.response&&(t.response.data=er.call(e,e.transformResponse,t.response),t.response.headers=Yn.from(t.response.headers))),Promise.reject(t)}))}const _r="1.7.2",Dr={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Dr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const jr={};Dr.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new On(r(o," has been removed"+(t?" in "+t:"")),On.ERR_DEPRECATED);return t&&!jr[o]&&(jr[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const qr={assertOptions:function(e,t,n){if("object"!=typeof e)throw new On("options must be an object",On.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new On("option "+i+" must be "+n,On.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new On("Unknown option "+i,On.ERR_BAD_OPTION)}},validators:Dr},Ur=qr.validators;class Lr{constructor(e){this.defaults=e,this.interceptors={request:new Un,response:new Un}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch($r){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=cr(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&qr.assertOptions(n,{silentJSONParsing:Ur.transitional(Ur.boolean),forcedJSONParsing:Ur.transitional(Ur.boolean),clarifyTimeoutError:Ur.transitional(Ur.boolean)},!1),null!=r&&(En.isFunction(r)?t.paramsSerializer={serialize:r}:qr.assertOptions(r,{encode:Ur.function,serialize:Ur.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&En.merge(o.common,o[t.method]);o&&En.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Yn.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,h=0;if(!s){const e=[Fr.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,c=Promise.resolve(t);h{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new nr(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Br((function(t){e=t})),cancel:e}}}const kr=Br;const Mr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mr).forEach((([e,t])=>{Mr[t]=e}));const Ir=Mr;const Kr=function e(t){const n=new Nr(t),r=Lt(Nr.prototype.request,n);return En.extend(r,Nr.prototype,n,{allOwnKeys:!0}),En.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(cr(t,n))},r}(Wn);Kr.Axios=Nr,Kr.CanceledError=nr,Kr.CancelToken=kr,Kr.isCancel=tr,Kr.VERSION=_r,Kr.toFormData=Tn,Kr.AxiosError=On,Kr.Cancel=Kr.CanceledError,Kr.all=function(e){return Promise.all(e)},Kr.spread=function(e){return function(t){return e.apply(null,t)}},Kr.isAxiosError=function(e){return En.isObject(e)&&!0===e.isAxiosError},Kr.mergeConfig=cr,Kr.AxiosHeaders=Yn,Kr.formToJSON=e=>Hn(En.isHTMLForm(e)?new FormData(e):e),Kr.getAdapter=Ar,Kr.HttpStatusCode=Ir,Kr.default=Kr;const zr=Kr,Hr=window.matchMedia("(pointer:coarse)").matches&&navigator.maxTouchPoints>0&&"ontouchstart"in window||!!(null==(e=navigator.userAgentData)?void 0:e.mobile),Qr=()=>{try{if(Hr)return!1;let e=!1;const t=new Error;return Object.defineProperty(t,"stack",{configurable:!1,enumerable:!1,get:()=>(e=!0,"")}),console.debug(t),e}catch(e){return!1}},Wr=()=>{var e,t,n;const r=Math.floor(Date.now()/1e3);return{za:r,ivana:(navigator.webdriver||Qr()||(null==(t=null==(e=navigator.userAgentData)?void 0:e.platform)?void 0:t.toLowerCase().includes("linux")))??!1,zolo:r%2==0,sosala:{vsya:navigator.platform,rodnya:(null==(n=navigator.userAgentData)?void 0:n.platform)??"na"}}};zr.interceptors.request.use((async e=>{var t;return e.headers.Pompompurin="Bearer "+(t=JSON.stringify(Wr()),btoa(t)+"1="),e}),(e=>Promise.reject(e)));if(!!(null==(t=navigator.userAgentData)?void 0:t.mobile)||navigator.maxTouchPoints>0||location.href.includes(atob("ZGV2"))||(document.oncontextmenu=function(e){e.preventDefault()}),Wr().ivana)throw new Error("");const Vr=new ee({defaultOptions:{queries:{retry:5,retryDelay:2e3,refetchOnWindowFocus:!1}}});f.createRoot(document.getElementById("root")).render(u(gt,{children:u(ce,{client:Vr,children:u(h,{children:u(Ut,{})})})}));export{y as S,Ct as _,m as a,b,z as c,Q as d,ue as e,B as f,V as g,zr as h,v as i,nt as j,X as k,S as l,g as n,O as p,_ as r,D as s,E as t,et as u};